-- GENERATED SPELL FOR [Death Talon Wyrmguard] --


function spell0_12460(pUnit, Event) --@War Stomp,Self--
pUnit:FullCastSpellOnTarget(24375,pUnit)
pUnit:RegisterEvent('Sorts_12460', 5324, 1)
end

function Sorts_12460(pUnit, Event)
local choix_sorts_12460 = math.random(0, 0)
if choix_sorts_12460 == 0 then
pUnit:RegisterEvent('spell0_12460', 1, 1)
end
end

function mob12460_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12460', math.random(1500, 3000), 1)
end

function mob12460_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12460_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12460_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12460, 1, 'mob12460_Action')
RegisterUnitEvent(12460, 2, 'mob12460_Leave')
RegisterUnitEvent(12460, 3, 'mob12460_Kill')
RegisterUnitEvent(12460, 4, 'mob12460_Die')
